package com.example.demo.checkReport.mapper;

import com.example.demo.checkReport.entity.Cost;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * VIEW Mapper 接口
 * </p>
 *
 * @author beyong
 * @since 2021-05-29
 */
public interface CostMapper extends BaseMapper<Cost> {

	List<Cost> cost(@Param("purpose")String purpose, @Param("department")String department,
			@Param("year")String year, @Param("month")String month);

	String getCostCount(@Param("purpose")String purpose, @Param("department")String department,
			@Param("year")String year, @Param("month")String month);
	
}
